<?php
    session_start();
    session_destroy();
    setcookie("session_id","",time()-60*60*24*30,"/");
    header('location: http://'.$_SERVER['HTTP_HOST'].'/');
?>
